package com.wanghai.carwashing.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 登录Controller
 * @author 王海
 */
@Controller
@RequestMapping("/")
public class LoginController {
    
    @RequestMapping(value = "/login",method = {RequestMethod.GET})
    public String getLogin(){
        return "login";
    }
    
    public String postLogin(){
        return "main";
    }
}
